HBar chart Wave effect
This goes in the documents header:
<script src="RGraph.common.core.js"></script>
<script src="RGraph.hbar.js"></script>
Put this where you want the chart to show up:
<canvas id="cvs" width="600" height="250">
[No canvas support]
</canvas>
This is the code that generates the chart:
<script>
window.onload = function ()
{
var hbar = new RGraph.HBar({
id: 'cvs',
data: [1,2,3,4,5,6,7,8,9,10],
options: {
scaleZerostart: true,
textAccessible: true
}
}).wave();
};
</script>